<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<?php get_header(); ?>
<?php get_sidebar(); ?>
<?php $attr = array ('class' => 'item_image');
     $size = array (80, 80);
     ?>
  <div class="content">  
 <?php if(have_posts()): ?>
    <?php while (have_posts()): the_post();?>
      <div class="product simpleCart_shelfItem">       
          <div class="product-name item_name"><a href="<?php the_permalink();?>"><?php the_title();?></a></div>
          <div class="product-image"><?php the_post_thumbnail($size,$attr); ?> </div>
           <div   class="product-buy"><a onclick="$('#mes').sticky();"  href="javascript:;" class="item_add"><div class="button orange">Купити</div></a>
            <div  class="product-price item_price"><?php echo get_post_meta($post->ID, 'product pric', true) ?> грн.</div>
            <div>К-сть <input type="text" size="1" value="1" class="item_quantity "></div></div>      
      </div>
    <?php endwhile; ?>
<?php endif; ?>    
    <!-- end .content --></div>
<?php get_footer(); ?>
